#coding:utf8
import pickle


#'user1':{'passwd':'123456',
#         'status':'ok',
#         'money':15000, 实际额度
#         'credit':15000,信用额度
#         'overdraft':0, 还款金额
#         'bill':{},
#        },
user_dict = {
            'user1':{'passwd':'123456',
                     'status':'ok',
                     'money':15000,
                     'credit':15000,
                     'overdraft':0,
                     'bill':{},
                    },
            'user2':{
                     'passwd':'123456',                                                                        
                     'status':'ok',                                                                            
                     'money':15000,                                                                            
                     'credit':15000,
                     'overdraft':0,
                     'bill':{},
                    },
            'admin':{'passwd':'admin',
                     'status':'ok',
                     'money':9999999999,                                                                            
                     'credit':999999999,
                     'overdraft':0,
                     'bill':{},
                    },
            }
f = open('bank.pkl','w')
pickle.dump(user_dict,f)
f.close()


